<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录</title>
</head>
<body>
    <!--
           action="/login"  /login springsecurity提供的不能改
           name="username" 不能变
           name="password" 不能变

    -->
    <form action="/login.do" method="post">
        <p>

            用户名:<input type="text" name="username">
        </p>
        <p>
            密码:<input type="password" name="password">
        </p>
        <p>

            <input type="submit" value="登录">
        </p>
    </form>
</body>
</html>